package com.imau.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imau.bean.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EmpMapper extends BaseMapper<Emp> {

    Emp selectEmpById(@Param("eid") Integer eid);

    List<Emp> selectList(@Param("ew") Wrapper<Emp> queryWrapper);
}
